diff: Fix case when used on native files
authorColin Walters <walters@verbum.org>
Sun, 23 Sep 2012 19:55:02 +0000 (15:55 -0400)
committerColin Walters <walters@verbum.org>
Sun, 23 Sep 2012 19:55:02 +0000 (15:55 -0400)
src/ostree/ot-builtin-diff.c

index 3762968bc28bed5d0b0f64118bd6f81957b5e8d0..d3bd17c21d149f03a6f5b09dd2b3c88c88b0850a 100644 (file)
@@ -122,7 +122,7 @@ ostree_builtin_diff (int argc, char **argv, GFile *repo_path, GError **error)
   if (!ostree_diff_dirs (srcf, targetf, modified, removed, added, cancellable, error))
     goto out;
 
-  ostree_diff_print (srcf, modified, removed, added);
+  ostree_diff_print (targetf, modified, removed, added);
 
   ret = TRUE;
  out: